<?php

class Type extends AppModel {
    public $name = 'Type';

    public $hasMany = array(
        'Dvd' => array(
            'className' => 'Dvd'
        ),
    );
    
    public $validate = array(
        "name" => array(
            "rule" => "notEmpty",
            "message" => "Please enter a Type Name"
        )
    );
}

?>